package kas.group.pkg3;


/**
 * Write a description of class Luttakarir here.
 * 
 * @author (your name) 
 * @version (a version number or a date)
 */
public class Instructor
{
    private String name;
    private String companion;
    private String address;
    private String city;
    private String dateOfCheckIn;
    private String dateOfCheckOut;
    private String companyName;
    private int phoneNumber;
    private int companyPhoneNumber;

    /**
     * Constructor for objects of class Luttakarir
     * Vísur navnið á luttakarum á konferencini, addressu, bý, o.s.fr.
     */
    public Instructor()
    {
        name = "";
        companion = "";
        address = "";
        city = "";
        dateOfCheckIn = "";
        dateOfCheckOut = "";
        companyName = "";
        phoneNumber = 0;
        companyPhoneNumber = 0;

    }
    
            @Override
    public String toString()
    {
        
        return name;
    }

    public void addName(String n)
    {
        name = n;
    }

    public String getName()
    {
        return name;
    }

    public void addCompanion(String c)
    {
        companion = c;
    }

    public String getCompanion()
    {
        return companion;
    }

    public void addAddress(String a)
    {
        address = a;
    }

    public String getAddress()
    {
        return address;
    }

    public void addCity(String c)
    {
        city = c;
    }

    public String getCity()
    {
        return city;
    }

    public void addDateOfCheckIn(String d)
    {
        dateOfCheckIn = d;
    }

    public String getDateOfCheckIn()
    {
        return dateOfCheckIn;
    }

    public void addDateOfCheckOut(String d)
    {
        dateOfCheckOut = d;
    }

    public String getDateOfCheckOut()
    {
        return dateOfCheckOut;
    }

    public void addCompanyName(String c)
    {
        companyName = c;
    }

    public String getCompanyName()
    {
        return companyName;
    }

    public void addPhoneNumber(int n)
    {
        phoneNumber = n;
    }

    public int getPhoneNumber()
    {
        return phoneNumber;
    }

    public void addCompanyPhoneNumber(int c)
    {
        companyPhoneNumber = c;
    }

    public int getCompanyPhoneNumber()
    {
        return companyPhoneNumber;
    }

    public void print()
    {
        System.out.println("Name: " + name);
    }

    public void printAllInfo()
    {
        System.out.println("Name: " + name);
        System.out.println("Companion: " + companion);
        System.out.println("Address: " + address);
        System.out.println("City: " + city);
        System.out.println("Check-In Date: " + dateOfCheckIn);
        System.out.println("Check-Out Date: " + dateOfCheckOut);
        System.out.println("Company name: " + companyName);
        System.out.println("Phone Number: " + phoneNumber);
        System.out.println("Company Phone Number: " + companyPhoneNumber);
    }

}